package original;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: fzykd
 * Date: 2023-04-10
 * Time: 16:42
 */

//这是一个普通的房子 继承抽象的盖房子的类
public class CommonHouse extends AbstractHouse{
    @Override
    public void buildBasic() {
        System.out.println("给普通房子打地基");
    }

    @Override
    public void buildWalls() {
        System.out.println("给普通房子砌墙");
    }

    @Override
    public void rooted() {
        System.out.println("给普通房子封顶");
    }
}
